{extend name="layout" /}

{block name="main"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-10">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>{$meta_title}</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" name="post-form" id="commentForm" method="post" action="">
                    	
                    	<div class="form-group">
                            <label class="col-sm-3 control-label">父级ID：</label>
                            <div class="col-sm-8">
                                <select name="pid" class="form-control" required="" aria-required="true">
                                	{volist name="cate" id="vo"}
                                	<option value="{$key}">{$vo}</option>
                                	{/volist}
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">分类名称：</label>
                            <div class="col-sm-8">
                                <input  name="title" minlength="1" maxlength="50" type="text" class="form-control" required="" aria-required="true">
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 分类名称不能为空</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">别名：</label>
                            <div class="col-sm-8">
                                <input  name="alias" type="text" class="form-control" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注：</label>
                            <div class="col-sm-8">
                                <textarea name="desc" class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                    		<label class="col-sm-3 control-label">状态：</label>
                    		<div class="col-sm-8">
                    			<div class="radio i-checks">
                                    <label><input type="radio" value="1" checked name="status"> <i></i> 显示</label>
                                    <label><input type="radio" value="0" name="status"> <i></i> 隐藏</label>
                                </div>
                            </div>
                    	</div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <button class="btn btn-primary btn-post" target-form="post-form" type="submit">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
